#ifndef receiver_h
#define receiver_h

#define BUFFER_LENGTH 40

static volatile char receiveBuffer[BUFFER_LENGTH] = {0};
static volatile uint8_t receiveBufferCount;
static volatile uint8_t receiveCount = 0;
static volatile uint8_t receiveLength = 0;
static volatile bool first = true;
static volatile bool receiving;
static volatile bool display;

void initReceive();

void displayBuffer();

#endif